package com.macro.mall.dao.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.pms.PmsSkuStockDO;
import com.macro.mall.model.pms.PmsSkuStockQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PmsSkuStockMapper extends BaseMapper<PmsSkuStockDO> {
    long countByExample(PmsSkuStockQuery example);

    int deleteByExample(PmsSkuStockQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsSkuStockDO record);

    int insertSelective(PmsSkuStockDO record);

    List<PmsSkuStockDO> selectByExample(PmsSkuStockQuery example);

    PmsSkuStockDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsSkuStockDO record, @Param("example") PmsSkuStockQuery example);

    int updateByExample(@Param("record") PmsSkuStockDO record, @Param("example") PmsSkuStockQuery example);

    int updateByPrimaryKeySelective(PmsSkuStockDO record);

    int updateByPrimaryKey(PmsSkuStockDO record);
}
